Skip to content

fix: spark connect extra class path - #755

Open
Maleware wants to merge 5 commits into
mainfrom
fix/connect-executor-extra-classpath
Open

fix: spark connect extra class path#755
Maleware wants to merge 5 commits into
mainfrom
fix/connect-executor-extra-classpath

Conversation

@Maleware

Copy link
Copy Markdown
Member

Description

Spark-connect: adds missing class patch of spark-connect in exectuer

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@Maleware

Copy link
Copy Markdown
Member Author
=== NAME  kuttl
    harness.go:430: run tests finished
    harness.go:547: cleaning up
    harness.go:604: removing temp folder: ""
--- PASS: kuttl (338.31s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/spark-connect_openshift-false_iceberg-latest-1.11.0_hive-iceberg-4.0.0_spark-connect-3.5.8_s3-use-tls-false (338.26s)
PASS

@Maleware Maleware moved this to Development: Waiting for Review in Stackable Engineering Aug 24, 2026

@lfrancke lfrancke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a "drive by" review. I didn't actually test the change but it looks sane to me in general. Thanks for catching.

// java.lang.invoke.SerializedLambda to field
// org.apache.spark.rdd.MapPartitionsRDD.f of type scala.Function3
(
"spark.executor.extraClassPath".to_string(),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about how our operators work: Can this still be overridden/appended to by users? That is a relatively "common" property.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can still override but not extend extraClassPath in all roles independently.

"spark.kubernetes.executor.container.image".to_string(),
Some(spark_image),
),
// Must mirror `spark.driver.extraClassPath` on the server.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that is the case...can/should we extract this into a constant or function?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you! 5a51dd7

Comment thread CHANGELOG.md Outdated
Maleware and others added 2 commits August 31, 2026 14:03
Co-authored-by: Lars Francke <lars.francke@stackable.tech>
@Maleware
Maleware requested a review from lfrancke August 31, 2026 12:08
@Maleware Maleware self-assigned this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Waiting for Review

Development

Successfully merging this pull request may close these issues.

2 participants